package service;

import dao.EmployeDao;

public interface EmployService {

    public int addEmp();
}

class EmployeeServiceImpl implements  EmployService{
    //注入一个dao对象

    private EmployeDao dao;
    @Override
    public int addEmp() {
        return dao.addEmp();
    }
}
